import 'package:flutter/material.dart';
enum EnumColorSeed {
  baseColor("M3 Baseline", Color(0xff6750a4)),
  indigo("Indigo", Colors.indigo),
  blue("Blue", Colors.blue),
  teal("Teal", Colors.teal),
  green("Green", Colors.green),
  yellow("Yellow", Colors.yellow),
  orange("Orange", Colors.orange),
  deepOrange("Deep Orange", Colors.deepOrange),
  pink("Pink", Colors.pink);

  const EnumColorSeed(this.label,this.color);
  final String label;
  final Color color;
}


class GlobalTheme extends ChangeNotifier {
  bool useLightTheme = true;
  EnumColorSeed colorSchemeSeed = EnumColorSeed.baseColor;
  void handleBrightness(){
    useLightTheme = !useLightTheme;
    notifyListeners();
  }

  void handleColorSchemeSeed(int index){
    colorSchemeSeed = EnumColorSeed.values[index];
    notifyListeners();
  }




}
